/************************************************************************

								Heroes IV
					  Copyright 2001, The 3DO Company

	------------------------------------------------------------------
  					       abstract_grail_data_source.h

	$Header: $

	$NoKeywords: $

 ************************************************************************/

#ifndef ABSTRACT_GRAIL_DATA_SOURCE_H_INCLUDED
#define ABSTRACT_GRAIL_DATA_SOURCE_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

enum t_town_type;

// -----------------------------------------------------------------------
// Base for any class which can give information about the presence of 
// grail buildings for a given player
// -----------------------------------------------------------------------
class t_abstract_grail_data_source
{
	public:
		virtual ~t_abstract_grail_data_source() {}

		int				get_grail_spell_bonus( t_town_type alignment ) const;
		virtual bool	gets_global_grail_effects( t_town_type alignment ) const = 0; // Does this creature/town/whatever get the global grail bonuses?
};

#endif // ABSTRACT_GRAIL_DATA_SOURCE_H_INCLUDED
